package com.lg.distributed.transaction.message.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * rabbitMq落地到 磁盘对象
 * @author xiaogang
 * @email 954253184@qq.com
 * @date 2020-12-11 18:12:21
 */
@Data
//@TableName("mq_message")
public class MessageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	//@TableId
	private String messageId;
	/**
	 * 
	 */
	private String content;
	/**
	 * 
	 */
	private String toExchange;
	/**
	 * 
	 */
	private String routingKey;
	/**
	 * 
	 */
	private String classType;
	/**
	 * 0-新建 1-已发送 2-错误抵达 3-已抵达
	 */
	private Integer messageStatus = 0;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

}
